package cn.yh.springbootjwt.domain.vo;

import cn.yh.springbootjwt.domain.entity.PictureDo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "商品详情")
public class ProductDtlVo {

    @ApiModelProperty("商品ID")
    private long productId;
    @ApiModelProperty("商品名称")
    private String productName;
    @ApiModelProperty("商品标题")
    private String productTitle;
    @ApiModelProperty("商品简介")
    private String productIntro;
    @ApiModelProperty("商品图片")
    private String productPicture;
    @ApiModelProperty("商品原价")
    private double productPrice;
    @ApiModelProperty("商品售价")
    private double productSellingPrice;
    @ApiModelProperty("商品图片列表")
    private List<PictureDo> pictures;
    @ApiModelProperty("是否收藏")
    private Integer isCollect;

}
